-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug in 2D CEE HLLE Noncartesian flux #1719
Fix bug in 2D CEE HLLE Noncartesian flux #1719
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Interestingly (and unfortunately) this was not detected by the consistency checks Lines 908 to 916 in 276dc3c
but instead by the rotation test added in #1708. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Code LGTM, but it would be good to get a review from someone familiar with the HLLE flux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Credit goes to @ranocha for being strict about the test : #1708 (comment) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1719 +/- ##
==========================================
+ Coverage 74.61% 83.00% +8.39%
==========================================
Files 431 431
Lines 34600 34665 +65
==========================================
+ Hits 25815 28772 +2957
+ Misses 8785 5893 -2892
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
In #1692 there is unfortunately a bug.
The correct velocity magnitude to be used is found in the 3D version
Trixi.jl/src/equations/compressible_euler_3d.jl
Line 1431 in 276dc3c
and the 2D version is wrong:
Trixi.jl/src/equations/compressible_euler_2d.jl
Line 1354 in 276dc3c